package com.cvit.dao;

import com.cvit.model.Time;
import com.cvit.model.TimeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TimeMapper {
    long countByExample(TimeExample example);

    int deleteByExample(TimeExample example);

    int deleteByPrimaryKey(String id);

    //添加
    int insert(Time record);

    int insertSelective(Time record);

    //查询全部
    List<Time> selectByExample(TimeExample example);
    
    //填报志愿的查询
    List<Time> selectVolunteer(TimeExample example);
    
    //打印准考证的查询
    List<Time> selectPrint(TimeExample example);

    Time selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Time record, @Param("example") TimeExample example);

    int updateByExample(@Param("record") Time record, @Param("example") TimeExample example);

    //修改
    int updateByPrimaryKeySelective(Time times);

    int updateByPrimaryKey(Time record);
}